package Action;

import com.epwk.action.Action;
import org.openqa.selenium.By;
import org.testng.annotations.Test;

/**
 * Created by Administrator on 2016/11/23.
 */
public class Integrity {


    public static void integrity(By[] arr){
//        Action.click(By.xpath(".//*[text()=\"保证完成\"]"));
//        Action.click(By.xpath(".//*[text()=\"保证售后\"]"));
//        Action.click(By.xpath(".//*[text()=\"保证原创\"]"));
//        By[] arr = {By.xpath(".//*[text()=\"保证完成\"]"),By.xpath(".//*[text()=\"保证售后\"]"),By.xpath(".//*[text()=\"保证原创\"]")};
        for (int i = 0;i<arr.length;i++){
            Action.click(arr[i]);
        }
    }


}
